package com.slz3.business.module.afterSaleManagement.aftWorkOrder.service;

import com.slz3.business.module.afterSaleManagement.aftWorkOrder.domain.AftWorkOrder;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface AftWorkOrderService {

    AftWorkOrder save(AftWorkOrder aftWorkOrder);

    Page<AftWorkOrder> page(MultiValueMap<String, String> queryParams);

    AftWorkOrder modify(AftWorkOrder aftWorkOrder);

    Optional<AftWorkOrder> single(UUID uuid);

    List<AftWorkOrder> findAllByUuids(Iterable<UUID> uuids);

    List<AftWorkOrder> delete(List<AftWorkOrder> aftWorkOrderList);

}
